using Microsoft.Extensions.Localization;
using Yunxsoft.Junlin.Localization;
using Volo.Abp.DependencyInjection;
using Volo.Abp.Ui.Branding;

namespace Yunxsoft.Junlin;

[Dependency(ReplaceServices = true)]
public class JunlinBrandingProvider : DefaultBrandingProvider
{
    private IStringLocalizer<JunlinResource> _localizer;

    public JunlinBrandingProvider(IStringLocalizer<JunlinResource> localizer)
    {
        _localizer = localizer;
    }

    public override string AppName => _localizer["AppName"];
}